package com.onlineclass.onlineclassmanagement.feign;

import com.onlineclass.beas.Course;
import com.onlineclass.beas.ResultObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(value = "CourseFeign")
public interface GetrecommendFeign {

    @RequestMapping("/recommend/getrecommend")
    public ResultObject getRecommendedcourses();

    @RequestMapping("/course/selectCourse")
    public ResultObject getCourseInfo();
}
